package cas.ihep.alluxio;

import java.io.Closeable;
import java.io.IOException;

public interface AlluxioBlock extends Closeable{

    long getBlockId();
    long getBlockSize();
    String getBlockPath();
    boolean canRead();
    boolean canWrite();
    void cancel()throws IOException;
    void require(long size)throws IOException;

}
